package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;

//套餐
public interface SetmealService {
    //套餐列表
    Page<Setmeal> findByPage(Integer pageNum, Integer pageSize, String name);
    //新增套餐
    void save(Setmeal setmeal);
    //删除套餐
    void deleteById(List<Long> ids);
    //启售停售
    void updateStatus(Integer status, List<Long> ids);
    //回显
    Setmeal findById(Long id);
    //修改套餐
    void updateById(Setmeal setmeal);
    //套餐展示
    List<Setmeal> findList(Long categoryId, Integer status);

    List<Dish> getmealDish(Long id);
    //套餐菜品图片
    

}
